package model

import "gitee.com/zaiqiang231/go-base-app/example/model/meta"

type TestModel struct {
	meta.RecordModel
	Name string `json:"name" gorm:"name"`
	Age  int64  `json:"age" gorm:"age"`
	Sex  int64  `json:"sex" gorm:"sex"`
}

func (TestModel) TableName() string {
	return "test_model"
}

type TestModelReq struct {
	Name int64 `json:"name" form:"name"`
}
